Nuprl Lemma : last-cons 11,40

x:top, as:(top List). sqequal(last(cons(x; as)); if null(as) then x else last(as) fi ) 
latex


Definitionshd(l), i <z j, i z j, l[i], last(L), top, t  T, x:A. B(x), ge(i; j), P  Q, False, A, A  B, P  Q, lelt(i; j; k), int_seg(i; j), ||as||
Lemmasselect cons tl sq, length cons, non neg length, length wf1, top wf

origin